package com.colin.library.other;

/**
 * Created by Colin on 2016/12/30.
 * 保存常用变量
 */

public final class Constants {
    //是否发布版本
    public final static boolean isRelease = false;
    /**
     * 启动页动画效果执行时间
     */
    public static final int ANIMATION_DURATION_TIME = 1000;

    public static final String[] FRAGMENT_MAIN_TITLE = {"主页", "实例", "权限", "我的"};
    public static final String[] FRAGMENT_COORDINATOR_TITLE = {"控件", "方法", "高级", "其它"};

    // 列表Fragment：主页
    public static final int FRAGMENT_ID_MAIN_HOME = 0X00000000;
    // 列表Fragment：实例
    public static final int FRAGMENT_ID_MAIN_DEMO = 0X00000001;
    // 列表Fragment：权限
    public static final int FRAGMENT_ID_MAIN_PERMISSION = 0X00000002;
    // 列表Fragment：我的
    public static final int FRAGMENT_ID_MAIN_MINE = 0X00000003;

    // 列表Fragment：控件
    public static final int FRAGMENT_ID_COORDINATOR_VIEW = 0X00000000;
    // 列表Fragment：方法
    public static final int FRAGMENT_ID_COORDINATOR_METHOD = 0X00000001;
    // 列表Fragment：高级
    public static final int FRAGMENT_ID_COORDINATOR_SENIOR = 0X00000002;
    // 列表Fragment：其它
    public static final int FRAGMENT_ID_COORDINATOR_OTHER = 0X00000003;
    //RecyclerViewFragment 显示内容
    public static final int FRAGMENT_RECYCLER_VIEW_TYPE_LIST = 0X00000000;
    public static final int FRAGMENT_RECYCLER_VIEW_TYPE_GRID = 0X00000001;
    public static final int FRAGMENT_RECYCLER_VIEW_TYPE_STAGGERED = 0X00000002;

    public static final String[] FRAGMENT_RECYCLER_VIEW_TAG = {"集合", "网格", "瀑布流"};

//    public static final int FRAGMENT_RECYCLER_VIEW_TYPE_TEXT = 0X00000000;
//    public static final int FRAGMENT_RECYCLER_VIEW_TYPE_IMAGE = 0X00000001;




    // 显示通知的形式
    public static final int NOTIFICATION_ID_BASIC = 0X00000000;
    public static final int NOTIFICATION_ID_COLLAPSE = 0X00000001;
    public static final int NOTIFICATION_ID_HEADS_UP = 0X00000002;
    public static final int NOTIFICATION_ID_VISIBILITY = 0X00000003;
    public static final int NOTIFICATION_ID_BASE = 0X00000004;
    public static final int NOTIFICATION_ID_BIG_STYLE = 0X00000005;
    public static final int NOTIFICATION_ID_LONG = 0X00000006;
    //数据本地化
    public static final String SP_LOGIN_USER = "sp_login_user";//登陆之后保存用户信息：用户账号
    public static final String SP_LOGIN_PASSWORD = "sp_login_password";//登陆之后保存用户信息:用户密码

    //选择图片
    public static final String[] CHOSE_PHOTO_WAY = {"拍照", "相册"};
    public static final int REQUEST_CAMERA = 1;
    public static final int REQUEST_ALBUM = 2;
    public static final int REQUEST_CROP = 3;
    public static final String IMAGE_UNSPECIFIED = "image/*";

}
